package com.link.base.base.esb.model;

/**
 * 职位DTO
 *
 * @author: liuqixin
 * @date: 2020/08/19 16:01
 */
public class PositionDTO {

    /**
     * 职位类型
     */
    private String positionType;
    /**
     * 职位名称
     */
    private String postnName;

    /**
     * 是否有效
     */
    private String isEffective;

    /**
     * 职位编码
     */
    private String postnCode;
    /**
     * 行政组织编码
     */
    private String adminPostnCode;
    /**
     * 源系统创建时间
     */
    private String shrCreated;
    /**
     * SHR职位主键
     */
    private String shrPostnId;
    /**
     * SHR上级岗位编码
     */
    private String shrParPostnId;
    /**
     * 是否负责人岗位
     */
    private String isRespPostn;
    /**
     * 源系统描述
     */
    private String shrDesc;

    public String getPostnCode() {
        return postnCode;
    }

    public PositionDTO setPostnCode(String postnCode) {
        this.postnCode = postnCode;
        return this;
    }

    public String getAdminPostnCode() {
        return adminPostnCode;
    }

    public PositionDTO setAdminPostnCode(String adminPostnCode) {
        this.adminPostnCode = adminPostnCode;
        return this;
    }

    public String getShrCreated() {
        return shrCreated;
    }

    public PositionDTO setShrCreated(String shrCreated) {
        this.shrCreated = shrCreated;
        return this;
    }

    public String getShrPostnId() {
        return shrPostnId;
    }

    public PositionDTO setShrPostnId(String shrPostnId) {
        this.shrPostnId = shrPostnId;
        return this;
    }

    public String getShrParPostnId() {
        return shrParPostnId;
    }

    public PositionDTO setShrParPostnId(String shrParPostnId) {
        this.shrParPostnId = shrParPostnId;
        return this;
    }

    public String getIsRespPostn() {
        return isRespPostn;
    }

    public PositionDTO setIsRespPostn(String isRespPostn) {
        this.isRespPostn = isRespPostn;
        return this;
    }

    public String getShrDesc() {
        return shrDesc;
    }

    public PositionDTO setShrDesc(String shrDesc) {
        this.shrDesc = shrDesc;
        return this;
    }

    public String getPositionType() {
        return positionType;
    }

    public PositionDTO setPositionType(String positionType) {
        this.positionType = positionType;
        return this;
    }

    public String getPostnName() {
        return postnName;
    }

    public PositionDTO setPostnName(String postnName) {
        this.postnName = postnName;
        return this;
    }

    public String getIsEffective() {
        return isEffective;
    }

    public PositionDTO setIsEffective(String isEffective) {
        this.isEffective = isEffective;
        return this;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("PositionDTO{");
        sb.append("positionType='").append(positionType).append('\'');
        sb.append(", postnName='").append(postnName).append('\'');
        sb.append(", isEffective='").append(isEffective).append('\'');
        sb.append(", postnCode='").append(postnCode).append('\'');
        sb.append(", adminPostnCode='").append(adminPostnCode).append('\'');
        sb.append(", shrCreated='").append(shrCreated).append('\'');
        sb.append(", shrPostnId='").append(shrPostnId).append('\'');
        sb.append(", shrParPostnId='").append(shrParPostnId).append('\'');
        sb.append(", isRespPostn='").append(isRespPostn).append('\'');
        sb.append(", shrDesc='").append(shrDesc).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
